package base.day19;

import java.util.Date;

public class Date1 {
    public static void main(String[] args) {
        Date date1=new Date();
        System.out.println(date1);

        Date date2=new Date(0l);
        System.out.println(date2);


        Date date3=new Date();
        long time =date3.getTime();
        System.out.println(time);

        date3.setTime(0l);
        System.out.println(date3);
    }
}
